export function getCities() {
  return RSocket.rs({
    route: 'dicts.region.items.top',
  });
}

export function getStations(cityId, companyIds) {
  return RSocket.rs({
    route: 'stations.shuttle',
    args: {
      search: { city: cityId, companyIds: toJS(companyIds) || [] },
      pg: { size: 10000 },
    },
  });
}
